{extend name="main/main-mip"/}

{block name="mipTitle"}{__block__}{$mipInfo['titleSeparator']}{$mipInfo['indexTitle']}{/block}

{block name="main"}
<div class="line46"></div>
<article>
    <div class="pics">
        {tagarticle:get_list value="arts1" where="img_url is not null  and img_url<>''" limit="3"/}
        <ul>
            {volist name="$arts1" id="a1"}
            <li>
                <i>
                    <a target="_blank" href="{$a1.url}"  data-type="mip"  data-title="{$a1.title}" title="{$a1.title}" class="mip-top-img image-link-left">
                        <mip-img layout="full" class="" alt="{$a1.title}" src="{$a1.img_url}"> </mip-img>
                    </a>
                </i>
                <span>{$a1.title}</span>
            </li>
            {/volist}
        </ul>
    </div>
    <div class="blank"></div>
    <div class="leftbox">
        <div class="tuijian">
            <h2 class="hometitle"><span>
                <a target="_blank" href="/article_list/1/" data-type="mip" data-title="励志人生" title='励志人生'>励志人生</a></span>热门励志人生</h2>

            {tagarticle:get_list value="arts2" where="cid=1" limit="3"/}
            <ul>
                {volist name="$arts2" id="a2"}
                <li>
                    <div class="tpic">
                        <a target="_blank" href="{$a2.url}" data-type="mip" data-title="{$a2.title}" title='{$a2.title}'>
                            {if condition="$a2.img_url neq null and $a2.img_url neq ''"}
                            <mip-img layout="container" alt='{$a2.title}' width="207" height="100" src="{$a2.img_url}"></mip-img>
                            {else /}
                            <mip-img layout="container" alt='{$a2.title}' width="207" height="100" src="/tpl/{$mipInfo.template}/assets/images/no-images.jpg"></mip-img>
                            {/if}
                        </a>
                    </div> <b>{$a2.title}</b><span>{$a2.description}</span>
                    <a target="_blank" href="{$a2.url}" data-type="mip" data-title="{$a2.title}" title='{$a2.title}' class="readmore">阅读全文</a>
                </li>
                {/volist}
            </ul>
        </div>
        <div class="newblogs" name="topnew">
            <h2 class="hometitle">最新文章</h2>
            {tagarticle:get_list value="arts3" order="id desc" limit="12"/}
            <ul id="list">
                {volist name="$arts3" id="a3"}
                <li>
                    <h3 class="blogtitle">
                        <a target="_blank" data-type="mip" class="item-link" href="{$a3.url}" data-title="{$a3.title}">{$a3.title}</a></h3>
                    <div class="bloginfo">
                    <span class="blogpic">
                    <a target="_blank" data-type="mip" class="item-link" href="{$a3.url}" data-title="{$a3.title}">
                        {if condition="$a3.img_url neq null and $a3.img_url neq ''"}
                        <mip-img layout="container" src="{$a3.img_url}"></mip-img>
                        {else /}
                        <mip-img layout="container" alt='{$a3.title}' src="/tpl/{$mipInfo.template}/assets/images/no-images.jpg"></mip-img>
                        {/if}
                    </a>
                    </span>
                        <p>{$a3.description}</p>
                    </div>
                    <div class="autor">
                    <span class="lm f_l">
                    <a target="_blank" href="{$a3.categoryInfo.url}"  class="classname">{$a3.categoryInfo.title}</a>
                    </span>
                        <span class="dtime f_l">{$a3.ts_publish_time|date='Y-m-d',###}</span>
                        <span class="viewnum f_l">浏览（{$a3.views}）次</span>

                        <span class="f_r">
                        <a target="_blank" data-type="mip" class="item-link" href="{$a3.url}" data-title="{$a3.title}">阅读原文&gt;&gt;</a>
                        </span>
                    </div>
                </li>
                {/volist}

            </ul>
            <ul id="list2"></ul>
        </div>
    </div>
    <div class="rightbox">
        {include file="block/me"}
        <div class="blank "></div>
        <div class="search ">
            {include file="block/search"}
        </div>
        <div class="paihang ">
            <h2 class="ab_title "><a target="_blank" href=" ">点  击  排  行</a></h2>
            {tagarticle:get_list value="arts4" order="views desc" limit="3"/}
            <ul>
                {volist name="$arts4" id="a4"}
                <li>
                    <b><a target="_blank" data-type="mip" class="item-link" href="{$mipInfo.domain}{$a4.url}" data-title="{$a4.title}">{$a4.title}</a></b>
                    <p>
                        <i>
                            <a target="_blank" data-type="mip" class="item-link" href="{$a4.url}" data-title="{$a4.title}">
                                {if condition="$a4.img_url neq null and $a4.img_url neq ''"}
                                <mip-img layout="container" width="78" height="90" src="{$a4.img_url}"></mip-img>
                                {else /}
                                <mip-img layout="container" width="78" height="90" alt='{$a4.title}' src="/tpl/{$mipInfo.template}/assets/images/no-images.jpg"></mip-img>
                                {/if}
                            </a>
                        </i>
                        {$a4.description}
                    </p>
                </li>
                {/volist}
            </ul>

        </div>

        <div class="weixin ">
            <h2 class="ab_title ">HOTTAGS</h2>
            {include file="block/tags-hot"}
        </div>
        <mip-adsense ad-client="ca-pub-5332031270540575" ad-slot="5175517553" ad-format="auto"></mip-adsense> <mip-semi-fixed id="semi-fixed2" threshold="160" fixedClassNames="fixedStyle">
        <div mip-semi-fixed-container class="absoluteStyle">
            <div class="weixin ">
                <h2 class="ab_title ">微信号</h2>
                <ul>
                    <mip-img layout="container" src="{$mipInfo.domain}/tpl/{$mipInfo.template}/assets/images/me_weixin.jpg"></mip-img>
                </ul>
            </div>
        </div>
    </mip-semi-fixed>
    </div>
</article>
<article>
    <div class=flink>
    </div>
</article>

{/block}